package com.gxc.mall.base.config;

import com.gxc.mall.common.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author GongXincheng
 * @since 2019-09-04 10:19
 */
@Configuration
public class BeanRegisterConfig {

    @Bean
    public IdWorker idWorker() {
        return new IdWorker();
    }

}
